﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Treinamento2015_01Core.Models;
using Treinamento2015_01Core.Repository;

namespace Treinamento2015_01Core.Service
{
    public class StockService : BaseService<Stock, StockRepository>
    {
        public StockService() : base(new StockRepository()) {
            
        }
         
        
            public Stock FindByProduct(Product product)
            {
                return _Repository.FindByProduct(product);
            }
        }
    }
